body {
  margin: 0 auto;
  color: #495057;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
table {
  padding: 10px;
  border-radius: 20px;
  border: 1px solid black;

  /* 消除表格默认样式*/
  border-spacing: 0px;
}

tr:nth-child(1) {
  padding-top: 10px;
  width: 100%;
}

td {
  padding: 2px;
  margin: 0;
  border-radius: 10px;
  text-align: center !important;
}

tr:hover {
  background-color: #dbedff;
}

td:hover {
  background-color: #7fb9f3;
}

.box {
  z-index: 0;
  display: flex;
  flex-direction: row;
  margin: 0 auto;
}

.navbar {
  display: flex;
  flex: 0 0 250px;
  flex-direction: column;
  height: 100vh;
  /* width: 320px; */
  background-color: #294a6b;
}

.link-icon {
  width: 25px;
  border-radius: 50%;
}

.bottom {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  height: 10%;
  text-align: center;
}

.bottom p {
  margin: 0;
  padding: 1px;
  color: white;
}

.item-group {
  display: flex;
  flex-direction: column;
  align-self: center;
  height: 90%;
  margin: 0 auto;
  padding: 0;
  padding-top: 20px;
  /* text-align: center; */
  list-style: none;
}

.item {
  padding: 10px;
  color: white;
}

.item:hover {
  color: #ffc3ac;
  cursor: pointer;
}

/* Logo 样式 */
.site-logo {
  /* 设置不被缩小 */
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  margin-top: 40px;
  background: center/100%
    url(https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=3784693221,924134447&fm=26&gp=0.jpg);
  background-repeat: no-repeat;
  -moz-background-size: 100% 100%;
  background-size: 200% 200%;
  border: 0.5px solid white;
  border-radius: 50%;
}

/* 触摸旋转 */
.site-logo:hover {
  transition: 0.5s;
  transform: scaleX(-1);
}

.content-container {
  display: flex;
  flex-direction: column;
  height: 90vh;
  margin: 0 auto;
  padding: 5vh;
  overflow: scroll;
}

.post-title {
  font-weight: bold;
  font-size: 40px;
}

.post-date {
  padding: 5px;
  color: #adb5bd;
  font-size: 18px;
}

.tool:hover {
  background-color: black;
  cursor: pointer;
}

.post-catalogue {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  z-index: 200;
  height: 100vh;
  width: 200px;
  height: 100vh;
  overflow: scroll;
}

.post-catalogue.cata-hide {
  transform: translateX(190px);
}

.tool {
  position: absolute;
  right: 0;
  top: 50vh;
  width: 25px;
  height: 50px;
  background-color: rgb(92, 79, 105);
  border: 1px solid black;
  border: none;
  border-radius: 100px 0 0 100px;
  outline: none;
}

/* 移动端适配 */

@media screen and (max-width: 414px) {
  .navbar {
    /* display: flex; */
    display: none;
    flex: 0 0 50px;
    flex-direction: column;
    height: 100vh;
    background-color: gray;
  }
  .post-title {
    font-weight: bold;
    font-size: 25px;
  }
  h1 {
    font-size: 20px;
  }
  h2 {
    font-size: 15px;
  }
}

/*导航*/

.BlogAnchor {
  border-radius: 10px;
  width: 100%;
  background: #f4f7f9;
  padding: 10px;
  line-height: 180%;
}

.BlogAnchor p {
  font-size: 18px;
  color: #15a230;
  margin-bottom: 0.3em;
}

.BlogAnchor .AnchorContent {
  padding: 5px 0px;
}

.BlogAnchor li {
  text-indent: 20px;
  font-size: 14px;
  list-style: none;
}

#AnchorContentToggle {
  font-size: 13px;
  font-weight: normal;
  color: #fff;
  display: inline-block;
  line-height: 20px;
  background: #5cc26f;
  font-style: normal;
  padding: 1px 8px;
  margin-right: 10px;
}

.BlogAnchor a {
  text-decoration: none;
}

/*包含以下四种的链接*/

a {
  text-decoration: none;
}

/*正常的未被访问过的链接*/

a:link {
  text-decoration: none;
}

/*已经访问过的链接*/

a:visited {
  text-decoration: none;
}

/*鼠标划过(停留)的链接*/

a:hover {
  text-decoration: none;
}

/* 正在点击的链接*/

a:active {
  text-decoration: none;
}

a.anchor-link {
  color: #1dadda;
}

a.anchor-link:hover {
  color: #63d09d;
}
